package com.github.blanexie.nexusj.domain.post

import java.time.LocalDateTime


/**
 * 帖子聚合
 */
data class PostAggregate(
    val postId: PostId,
    val title: String,
    val coverImg: String,
    val description: Description,
    val userId: Int,

    val type: String,
    val labels: List<String>,

    val status: Int = 0, // 1: 发布 0: 初始化, -1: 删除
    val updateTime: LocalDateTime = LocalDateTime.now(),
    val createTime: LocalDateTime = LocalDateTime.now(),
) {




}


data class PostId(val id: Int)

data class Description(val content: String, val imgList: List<String>)
